home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q96 / 2 / 69.TXT next >
Text File  |  1993-09-28  |  2KB  |  54 lines

  1. DOCUMENT:Q96269  24-SEP-1993  [W_NT]
  2. TITLE   :Using FTP Batch Scripts
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12. --------------------------------------------------------------------
  13.  
  14. Summary:
  15.  
  16. FTP (file transfer protocol) is a file transfer utility commonly used
  17. with UNIX systems.
  18.  
  19. FTP is capable of using scripts (lists of commands from external
  20. files). The following example demonstrates a script that opens a
  21. connection to IP address 11.11.11.11, logs onto the host as a guest
  22. with the password guest, uploads the FILE1 file, and quits:
  23.  
  24.    open 11.11.11.11
  25.    guest
  26.    guest
  27.    put file1
  28.    qui
  29.  
  30. You must use the -S option for FTP to read this file under Windows NT.
  31. If the previous script was in a file called TEST.SCR, you could start
  32. the script by typing the following:
  33.  
  34.    ftp -s:test.scr
  35.  
  36. Additional reference words: 3.10 winnt
  37. KBCategory:
  38. KBSubCategory: INTROP 
  39.  
  40. =============================================================================
  41.  
  42. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  43. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  44. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  45. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  46. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  47. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  48. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  49. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  50. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  51. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  52. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  53.  
  54. Copyright Microsoft Corporation 1993.